<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('Agency/index')}">等级列表</a></li>
			<li><a href="{:url('Agency/add')}">等级添加</a></li>
			<li class="active"><a>编辑等级</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Agency/changePost')}">
			<div class="form-group">
				<input type="hidden" id="id" name="id" value="{$result.id}">
				<label for="agr_level" class="col-sm-2 control-label"><span class="form-required">*</span>等级名称</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="agr_level" name="agr_level" value="{$result.agr_level}" required/>
				</div>
			</div>
			<div class="form-group">
				<label for="money" class="col-sm-2 control-label"><span class="form-required">*</span>代理费用</label>
				<div class="col-md-6 col-sm-10">
					<input type="number" class="form-control" id="money" name="money" value="{$result.money}" required/>
				</div>
			</div>
			<div class="form-group">
				<label for="number" class="col-sm-2 control-label"><span class="form-required">*</span>激活码数量</label>
				<div class="col-md-6 col-sm-10">
					<input type="number" class="form-control" id="number" name="number" value="{$result.number}" required/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">修改</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>